<include file="Index:header"/>
<div class="content">
	<div class="usercontent">
		<ul>
			<!--<li><a href="{cms>:U('Index/pay_history')}" class="gold" title="查看金币历史记录" ><p><strong>账户金币总数：</strong>5</p><p>已消费金币数：0</p></a></li>-->
			<li class="addli"><a class="addwx" title="添加微信公众号" onclick="location.href='{cms>:U('Index/add')}';">添加微信公众号</a></li>
			<li style="height:47px;line-height:47px;color:blue;padding:10px;">请添加公众帐号,进入功能管理,再进行功能测试，</li>
		</ul>
		<div class="clr"></div>
	</div>
          <div class="msgWrap">
            <TABLE class="ListProduct" border="0" cellSpacing="0" cellPadding="0" width="100%">
              <THEAD>
                <tr>
                  <TH>公众号名称</TH>
                  <TH>VIP等级</TH>
                  <TH>创建时间/到期时间</TH>
                   <TH>已定义/上限</TH>
                   <TH>请求数</TH>
                  <TH>操作</TH>
                </tr>
              </THEAD>
              <TBODY>
                <tr></tr>                
                 <volist name="info" id="vo"> 
					<tr>
					  <td><p><a href="{cms>:U('Areply/index',array('id'=>$vo['id'],'token'=>$vo['token']))}" title="点击进入功能管理"><img src="{cms>$vo.headerpic}" width="40" height="40"></a></p><p>{cms>$vo.wxname}</p></td>
					  <td align="center"><php>if($_SESSION['gid']>1){echo $_SESSION['gid']-1;}else{echo 0;}</php></td>
					  <td><p>创建时间:{cms>$vo.createtime|date="Y-m-d",###}</p><p>到期时间:{cms>$viptime|date="Y-m-d",###}</p><p><a   href="{cms>:U('Alipay/index')}" id="smemberss" class="green"><em>升降级vip续费</em></a></p></Td>
					  <td><p>图文：<php>echo $_SESSION['diynum'].'/'.$group[$_SESSION['gid']]['did'];</php></p></td>
					   <td><p>总请求数:<php>echo $_SESSION['connectnum']</php></p><p> 本月请求数:<php>echo $group[$_SESSION['gid']]['cid'];</php></p></td>
					  
					  <td class="norightborder">　<a href="{cms>:U('Index/edit',array('id'=>$vo['id']))}">编辑</a>　<a  href="{cms>:U('Index/del',array('id'=>$vo['id']))};">删除</a>　
					  <a href="{cms>:U('Areply/index',array('id'=>$vo['id'],'token'=>$vo['token']))}" class="btnGreens" >功能管理</a>
					  <a href="{cms>:U('Home/Index/help',array('id'=>$vo['id'],'token'=>$vo['token']))}" class="btnGreens" >API接口</a>
					  </td>
					</tr>
                  </volist>

              </TBODY>
            </TABLE>
            
          </div>
          
          <div class="cLine">
            <div class="pageNavigator right">
              <div class="pages"></div>
            </div>
            <div class="clr"></div>
          </div>
        </div>
        
        <div class="clr"></div>
<include file="Public:footer"/>	